package com.frame.common.core.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @auther zhangwj
 * @date 2021/4/14 下午4:57
 */
@ConfigurationProperties(prefix = "spring.redis")
public class RedisProperties {

    private boolean enabled = false;

    public boolean isEnabled() {
        return enabled;
    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }
}
